let viewId = 5

Page({
    data: {
        arr: [],
        triggered: false,
        scrollTopValue: 0,
        scrollIntoViewId: '',
        pullingMessage: '下拉刷新', //下拉刷新,释放更新,加新中...
        refresherTriggered: false, //
        tabs: []
    },

    scrollToView1() {
        viewId += 2
        this.setData({
            scrollIntoViewId: 'childview' + viewId
        })
        console.log(this.data.scrollIntoViewId);

    },

    onScroll(e) {
        console.log(e.detail.scrollTop, e.detail.scrollLeft, e.detail.scrollHeight, e.detail.scrollWidth);

    }

})